_Add to AReminders
(
52
actions, 44 KB)
0 Get Type of
[Shortcut Input]
»
1 If
[0 Type]
is
reminder
2 Set Variable
Reminder
to
[Shortcut Input]
3 Otherwise
4 Add New Reminder
[Shortcut Input]
to Reminders with No Alert »
5 Set Variable
Reminder
to
[4 New Reminder]
6 End If
7 If
[Reminder
’s Name
]
begins with
!
8 Run Shortcut
Strip Leading Symbol
»
9
10
11
12
Input
:
[Reminder]
Workflow
:
{ "workflowIdentifier": "8FC46502-BE99-4573-AE81-F7EBE87C0935", "workflowName": "Strip Leading Symbol", "isSelf": false }
9
Set
Title
of Reminder
[Reminder]
ReminderContentItemTitle
:
[8 Shortcut Result]
10
Set
List
of Reminder
[Reminder]
ReminderContentItemList
:
🗓️ Scheduled
ReminderContentItemTitle
:
[8 Shortcut Result]
11
Set
Due Date
of Reminder
[Reminder]
ReminderContentItemList
:
🗓️ Scheduled
ReminderContentItemDueDate
:
Tomorrow
ReminderContentItemTitle
:
[8 Shortcut Result]
12
Set
Priority
of Reminder
[Reminder]
ReminderContentItemList
:
🗓️ Scheduled
ReminderContentItemDueDate
:
Tomorrow
ReminderContentItemTitle
:
[8 Shortcut Result]
ReminderContentItemPriority
:
High
13 Otherwise ▵
7
14 DataJar > GetValueIntent »
16
keyPath
:
Text Divider
15 Actions > TruncateTextIntent »
maximumLength
:
28
text
:
[Reminder]
16 Text »
17
25
30
45
[14 Value]
👉
[15 Truncated Text]
[14 Value]
17 Text »
19
[16 Text]
→ 🤖 Which reminder list?
18 ToolboxProForShortcuts > GetReminderListsIntent »
getType
:
[? Text]
19 Choose from List
[18 Reminder Lists]
»
20
21
42
43
44
ChooseFromListActionPrompt
:
[17 Text]
20
Set
List
of Reminder
[Reminder]
»
27
35
47
ReminderContentItemList
:
[19 Selected Item]
21 If
[19 Chosen Item]
contains
🗓️
22 Choose from Menu
MenuPrompt
:
🤖 Which one?
MenuItems
:
[🗓️ Do Date + Time, 🗓️ Do Date]
23 Menu Item
🗓️ Do Date + Time
24 Date
Specified Date
»
26
DateActionDate
:
Tomorrow 03:00
25 Text »
[16 Text]
→ 🤖 Which date and time?
26 Ask for
Date and Time
Input »
AskActionDefaultAnswerDateAndTime
:
[24 Date]
AskActionPrompt
:
[25 Text]
27
Set
Due Date
of Reminder
[20 Edited Reminder]
ReminderContentItemDueDate
:
[26 Provided Input]
28 Menu Item
🗓️ Do Date
29 Date
Specified Date
»
31
DateActionDate
:
Tomorrow
30 Text »
[16 Text]
→ 🤖 Which date?
31 Ask for
Date
Input
➔ Do Date
»
32
33
34
AskActionPrompt
:
[30 Text]
AskActionDefaultAnswerDate
:
[29 Date]
32 Format Date
[31 Do Date]
➔ MMMM
»
35
DateFormatStyle
:
Custom
TimeFormatStyle
:
None
DateFormat
:
MMMM
33 Format Date
[31 Do Date]
➔ d
»
35
DateFormatStyle
:
Custom
TimeFormatStyle
:
None
DateFormat
:
d
34 Format Date
[31 Do Date]
➔ yyyy
»
DateFormatStyle
:
Custom
TimeFormatStyle
:
None
DateFormat
:
yyyy
35
Set
Due Date
of Reminder
[20 Edited Reminder]
ReminderContentItemDueDate
:
[32 MMMM]
[33 d]
,
[34 yyyy]
36 End Menu ▵
28
37 Otherwise ▵
21
38 DataJar > GetValueIntent »
keyPath
:
My Reminders
39 Get Dictionary Value for
evergreenLists
in
[38 Value]
»
40 List »
["
[39 Dictionary Value
as Dictionary’s Keys
]
", 🩷]
41 Combine Text
[40 List]
with
Custom
»
TextCustomSeparator
:
|
42 Match Text
[41 Combined Text]
in
[19 Chosen Item]
»
MatchTextCaseSensitive
:
false
43 If
[42 Matches]
has any value
ConditionalActionString
:
[19 Chosen Item]
44 Find Reminders »
46
ContentItemFilter
:
• All the following are true List is
[19 Selected Item]
Is Completed Is Flagged Has Subtasks
45 Text »
[16 Text]
→ 🤖 Which one?
46 Choose from List
[44 Reminders]
»
ChooseFromListActionPrompt
:
[45 Text]
47
Set
Parent Reminder
of Reminder
[20 Edited Reminder]
ReminderContentItemParentReminder
:
[46 Selected Item]
48 End If
49 End If ▵
37
50 End If ▵
13
51 Stop This Shortcut